<div class="page">
		
		<div class="sidebar_page">
			<div class="content">
				<!--Galleries-->
				<div id="preview">
					<div class="page_capt clearfix">
						<div class="fl_left">
							<h2>Galerija</h2>
							<h3><a href="{$url}/?page=profil">{$single_photo.username}</a></h3>
						</div>
						<div class="fl_right gallery_opt">
							<div class="gallery_creative">
								<a class="flip_img" href="#" rel="noindex,nofollow" title="Kliknite za sliku u ogledalu">Flip Image</a>
								<a class="bw_img" href="#" rel="noindex,nofollow" title="Kliknite za crno-belu sliku">Black-White</a>
								<a class="col_img" href="#" rel="noindex,nofollow" title="Kliknite za sliku u boji">Color</a>
							{if $userIsLogged}
								<!--<a class="crop_img" href="#" rel="noindex,nofollow" title="Označite deo slike">Crop</a>-->
							 {/if}
								<a class="full_img" href="#" rel="noindex,nofollow" title="Prikaži sliku preko celog ekrana">Full Screen</a>
								<a class="info_img modal_cont" href="#image_info_box" rel="noindex,nofollow" title="Informacije o slici">Image Info</a>
								<a class="link_img modal_cont" href="#image_link_box" title="Prikaži link za sliku">Image Link</a>
								<a class="fb_img" href="#" title="Postavi sliku na Facebook" target="_blank">Share to Facebook</a>
								<a class="like_img" href="#" rel="noindex,nofollow" title="Like">Like</a>
							</div>
							<div class="gallery_bgr">
								<span>Pozadina:</span>
								<a id="color1" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color2" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color3" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color4" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color5" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color6" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color7" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color8" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color9" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color10" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
							</div>
						</div>
					</div>
					
					<div class="clearfix screen_gall">	
						
						<div class="img_wrapper">
							<div class="img_holder">
								<a href="#"><img src="{$media}/autori/" alt="Slika" longdesc="Demo" /></a>
							</div>
						</div>
						
						<div class="gallery_nav">
							<div class="thumb_nav">
								<div class="prev"></div><div class="next"></div>
							</div>
							<div class="thumb_wrapper">
								<div class="thumb_holder">
                                                                    {foreach from=$other_photos item='thumb'}
									<a href="functions/thumbxy.php?imeslike=../{$media}/autori/{$thumb.username}/{$thumb.slika}&amp;max_y=710&amp;max_x=700" id="{$thumb.id}"><img src="{$media}/autori/thumbs/{$thumb.username}/{$thumb.slika}" alt="{$thumb.slika}" longdesc="{$url}/{$media}/autori/{$thumb.username}/{$thumb.slika}" /></a>
                                                                    {/foreach}
									<!--a href=main image path; img src=thumb path; img longdesc=big(zoom) image path-->
								</div>
							</div>
						</div>
						
					</div><!--end of .screen_gall-->
				</div>

				
				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col">
						<div id="comments">
							<h2>Komentari</h2>
                                                        <p>Ukupno <span>2</span> komentara.</p>
							<ul>
								<li class="clearfix" id="comment-id-">
									<img class="fl_left" src="{$media}/images/user_img.png" width="40" height="40" />
									<span><a class="comment_aut" href="{$url}/?page=profil">archy</a> </span>Evo kad vas neko pita da li boli prosledite mu ovaj link -)
									<div>2011-03-14 | 18:12</div>
								</li>
								<li class="clearfix" id="comment-id-">
									<img class="fl_left" src="{$media}/images/user_img.png" width="40" height="40" />
									<span><a class="comment_aut" href="{$url}/?page=profil">archy</a> </span>Označio sam deo za prepravku ovde <a class="mark_area" href="260,362,315,442">{literal}{deo slike}{/literal}</a>
									<div>2011-03-14 | 18:12</div>
								</li>
							</ul>
							<h2 id="addCommentPage">Dodajte komentar</h2>
						{if $userIsLogged}
							<form id="comments_form" name="comments_form" action="handlers/hgalerija_single.php" method="post">
								<div class="comment_tools">
									<a class="smile" id="smile" href="javascript:void(0)" rel="noindex,nofollow"><img src="templates/tattoo/smiles/smile.png" /></a>
									<a class="smile" id="wink" href="javascript:void(0)" rel="noindex,nofollow"><img src="templates/tattoo/smiles/wink.png" /></a>
									<a class="smile" id="mad" href="javascript:void(0)" rel="noindex,nofollow"><img src="templates/tattoo/smiles/mad.png" /></a>
									<a class="smile" id="cool" href="javascript:void(0)" rel="noindex,nofollow"><img src="templates/tattoo/smiles/cool.png" /></a>
									<a class="smile" id="plez" href="javascript:void(0)" rel="noindex,nofollow"><img src="templates/tattoo/smiles/plez.png" /></a>
									<a class="smile" id="excited" href="javascript:void()" rel="noindex,nofollow"><img src="templates/tattoo/smiles/excited.png" /></a>
									<a class="smile" id="rofl" href="javascript:void()" rel="noindex,nofollow"><img src="templates/tattoo/smiles/rofl.png" /></a>
									<!--<a class="comment_ico ins_area" href="#" rel="noindex,nofollow" title="Ubaci označen deo slike">Marked Area</a>-->
								</div>
								<label for="comment_content">Komentar:</label><br />
                                                                <input type="hidden" id="photo_id" name="photo_id" value="" />
                                                                <input type="hidden" id="action" name="action" value="comment" />
                                                                <input type="hidden" id="username" name="username" value="{$user.username}" />
								<textarea id="comment_content" name="comment_content" cols="" rows="4"></textarea>
								<p class="tRight"><input id="comment_submit" name="comment_submit" type="submit" value="Dodaj komentar" /></p>
							</form>
						{else}
							<h3>Ulogujte se kako bi dodali komentar. Hvala.</h3>
							<br />
							<p><a class="red" href="#account_box">Prijavi se</a> | <a class="red" href="{$url}/?page=registracija">Registruj se</a></p>	
						{/if}
						</div>
					</div>
					<div class="col">{include file="chat.tpl"}</div>
				</div>
				
			</div>
			<!--Content end (.content)-->
			<div class="sidebar">{include file="sidebar_banners.tpl"}</div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>
	